package yf.mall.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class KolShopEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public KolShopEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("`name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("`name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("`name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("`name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("`name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("`name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("`name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("`name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("`name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("`name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("`name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("`name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("`name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("`name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingIsNull() {
            addCriterion("logistics_rating is null");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingIsNotNull() {
            addCriterion("logistics_rating is not null");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingEqualTo(String value) {
            addCriterion("logistics_rating =", value, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingNotEqualTo(String value) {
            addCriterion("logistics_rating <>", value, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingGreaterThan(String value) {
            addCriterion("logistics_rating >", value, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingGreaterThanOrEqualTo(String value) {
            addCriterion("logistics_rating >=", value, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingLessThan(String value) {
            addCriterion("logistics_rating <", value, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingLessThanOrEqualTo(String value) {
            addCriterion("logistics_rating <=", value, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingLike(String value) {
            addCriterion("logistics_rating like", value, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingNotLike(String value) {
            addCriterion("logistics_rating not like", value, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingIn(List<String> values) {
            addCriterion("logistics_rating in", values, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingNotIn(List<String> values) {
            addCriterion("logistics_rating not in", values, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingBetween(String value1, String value2) {
            addCriterion("logistics_rating between", value1, value2, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsRatingNotBetween(String value1, String value2) {
            addCriterion("logistics_rating not between", value1, value2, "logisticsRating");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreIsNull() {
            addCriterion("logistics_score is null");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreIsNotNull() {
            addCriterion("logistics_score is not null");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreEqualTo(BigDecimal value) {
            addCriterion("logistics_score =", value, "logisticsScore");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreNotEqualTo(BigDecimal value) {
            addCriterion("logistics_score <>", value, "logisticsScore");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreGreaterThan(BigDecimal value) {
            addCriterion("logistics_score >", value, "logisticsScore");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("logistics_score >=", value, "logisticsScore");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreLessThan(BigDecimal value) {
            addCriterion("logistics_score <", value, "logisticsScore");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreLessThanOrEqualTo(BigDecimal value) {
            addCriterion("logistics_score <=", value, "logisticsScore");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreIn(List<BigDecimal> values) {
            addCriterion("logistics_score in", values, "logisticsScore");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreNotIn(List<BigDecimal> values) {
            addCriterion("logistics_score not in", values, "logisticsScore");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("logistics_score between", value1, value2, "logisticsScore");
            return (Criteria) this;
        }

        public Criteria andLogisticsScoreNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("logistics_score not between", value1, value2, "logisticsScore");
            return (Criteria) this;
        }

        public Criteria andLogoIsNull() {
            addCriterion("logo is null");
            return (Criteria) this;
        }

        public Criteria andLogoIsNotNull() {
            addCriterion("logo is not null");
            return (Criteria) this;
        }

        public Criteria andLogoEqualTo(String value) {
            addCriterion("logo =", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotEqualTo(String value) {
            addCriterion("logo <>", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoGreaterThan(String value) {
            addCriterion("logo >", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoGreaterThanOrEqualTo(String value) {
            addCriterion("logo >=", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoLessThan(String value) {
            addCriterion("logo <", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoLessThanOrEqualTo(String value) {
            addCriterion("logo <=", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoLike(String value) {
            addCriterion("logo like", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotLike(String value) {
            addCriterion("logo not like", value, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoIn(List<String> values) {
            addCriterion("logo in", values, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotIn(List<String> values) {
            addCriterion("logo not in", values, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoBetween(String value1, String value2) {
            addCriterion("logo between", value1, value2, "logo");
            return (Criteria) this;
        }

        public Criteria andLogoNotBetween(String value1, String value2) {
            addCriterion("logo not between", value1, value2, "logo");
            return (Criteria) this;
        }

        public Criteria andProductRatingIsNull() {
            addCriterion("product_rating is null");
            return (Criteria) this;
        }

        public Criteria andProductRatingIsNotNull() {
            addCriterion("product_rating is not null");
            return (Criteria) this;
        }

        public Criteria andProductRatingEqualTo(String value) {
            addCriterion("product_rating =", value, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingNotEqualTo(String value) {
            addCriterion("product_rating <>", value, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingGreaterThan(String value) {
            addCriterion("product_rating >", value, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingGreaterThanOrEqualTo(String value) {
            addCriterion("product_rating >=", value, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingLessThan(String value) {
            addCriterion("product_rating <", value, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingLessThanOrEqualTo(String value) {
            addCriterion("product_rating <=", value, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingLike(String value) {
            addCriterion("product_rating like", value, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingNotLike(String value) {
            addCriterion("product_rating not like", value, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingIn(List<String> values) {
            addCriterion("product_rating in", values, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingNotIn(List<String> values) {
            addCriterion("product_rating not in", values, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingBetween(String value1, String value2) {
            addCriterion("product_rating between", value1, value2, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductRatingNotBetween(String value1, String value2) {
            addCriterion("product_rating not between", value1, value2, "productRating");
            return (Criteria) this;
        }

        public Criteria andProductScoreIsNull() {
            addCriterion("product_score is null");
            return (Criteria) this;
        }

        public Criteria andProductScoreIsNotNull() {
            addCriterion("product_score is not null");
            return (Criteria) this;
        }

        public Criteria andProductScoreEqualTo(BigDecimal value) {
            addCriterion("product_score =", value, "productScore");
            return (Criteria) this;
        }

        public Criteria andProductScoreNotEqualTo(BigDecimal value) {
            addCriterion("product_score <>", value, "productScore");
            return (Criteria) this;
        }

        public Criteria andProductScoreGreaterThan(BigDecimal value) {
            addCriterion("product_score >", value, "productScore");
            return (Criteria) this;
        }

        public Criteria andProductScoreGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("product_score >=", value, "productScore");
            return (Criteria) this;
        }

        public Criteria andProductScoreLessThan(BigDecimal value) {
            addCriterion("product_score <", value, "productScore");
            return (Criteria) this;
        }

        public Criteria andProductScoreLessThanOrEqualTo(BigDecimal value) {
            addCriterion("product_score <=", value, "productScore");
            return (Criteria) this;
        }

        public Criteria andProductScoreIn(List<BigDecimal> values) {
            addCriterion("product_score in", values, "productScore");
            return (Criteria) this;
        }

        public Criteria andProductScoreNotIn(List<BigDecimal> values) {
            addCriterion("product_score not in", values, "productScore");
            return (Criteria) this;
        }

        public Criteria andProductScoreBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_score between", value1, value2, "productScore");
            return (Criteria) this;
        }

        public Criteria andProductScoreNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_score not between", value1, value2, "productScore");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(BigDecimal value) {
            addCriterion("score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(BigDecimal value) {
            addCriterion("score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(BigDecimal value) {
            addCriterion("score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(BigDecimal value) {
            addCriterion("score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(BigDecimal value) {
            addCriterion("score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<BigDecimal> values) {
            addCriterion("score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<BigDecimal> values) {
            addCriterion("score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreRatingIsNull() {
            addCriterion("score_rating is null");
            return (Criteria) this;
        }

        public Criteria andScoreRatingIsNotNull() {
            addCriterion("score_rating is not null");
            return (Criteria) this;
        }

        public Criteria andScoreRatingEqualTo(String value) {
            addCriterion("score_rating =", value, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingNotEqualTo(String value) {
            addCriterion("score_rating <>", value, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingGreaterThan(String value) {
            addCriterion("score_rating >", value, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingGreaterThanOrEqualTo(String value) {
            addCriterion("score_rating >=", value, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingLessThan(String value) {
            addCriterion("score_rating <", value, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingLessThanOrEqualTo(String value) {
            addCriterion("score_rating <=", value, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingLike(String value) {
            addCriterion("score_rating like", value, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingNotLike(String value) {
            addCriterion("score_rating not like", value, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingIn(List<String> values) {
            addCriterion("score_rating in", values, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingNotIn(List<String> values) {
            addCriterion("score_rating not in", values, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingBetween(String value1, String value2) {
            addCriterion("score_rating between", value1, value2, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andScoreRatingNotBetween(String value1, String value2) {
            addCriterion("score_rating not between", value1, value2, "scoreRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingIsNull() {
            addCriterion("shop_rating is null");
            return (Criteria) this;
        }

        public Criteria andShopRatingIsNotNull() {
            addCriterion("shop_rating is not null");
            return (Criteria) this;
        }

        public Criteria andShopRatingEqualTo(String value) {
            addCriterion("shop_rating =", value, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingNotEqualTo(String value) {
            addCriterion("shop_rating <>", value, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingGreaterThan(String value) {
            addCriterion("shop_rating >", value, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingGreaterThanOrEqualTo(String value) {
            addCriterion("shop_rating >=", value, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingLessThan(String value) {
            addCriterion("shop_rating <", value, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingLessThanOrEqualTo(String value) {
            addCriterion("shop_rating <=", value, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingLike(String value) {
            addCriterion("shop_rating like", value, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingNotLike(String value) {
            addCriterion("shop_rating not like", value, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingIn(List<String> values) {
            addCriterion("shop_rating in", values, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingNotIn(List<String> values) {
            addCriterion("shop_rating not in", values, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingBetween(String value1, String value2) {
            addCriterion("shop_rating between", value1, value2, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopRatingNotBetween(String value1, String value2) {
            addCriterion("shop_rating not between", value1, value2, "shopRating");
            return (Criteria) this;
        }

        public Criteria andShopScoreIsNull() {
            addCriterion("shop_score is null");
            return (Criteria) this;
        }

        public Criteria andShopScoreIsNotNull() {
            addCriterion("shop_score is not null");
            return (Criteria) this;
        }

        public Criteria andShopScoreEqualTo(BigDecimal value) {
            addCriterion("shop_score =", value, "shopScore");
            return (Criteria) this;
        }

        public Criteria andShopScoreNotEqualTo(BigDecimal value) {
            addCriterion("shop_score <>", value, "shopScore");
            return (Criteria) this;
        }

        public Criteria andShopScoreGreaterThan(BigDecimal value) {
            addCriterion("shop_score >", value, "shopScore");
            return (Criteria) this;
        }

        public Criteria andShopScoreGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("shop_score >=", value, "shopScore");
            return (Criteria) this;
        }

        public Criteria andShopScoreLessThan(BigDecimal value) {
            addCriterion("shop_score <", value, "shopScore");
            return (Criteria) this;
        }

        public Criteria andShopScoreLessThanOrEqualTo(BigDecimal value) {
            addCriterion("shop_score <=", value, "shopScore");
            return (Criteria) this;
        }

        public Criteria andShopScoreIn(List<BigDecimal> values) {
            addCriterion("shop_score in", values, "shopScore");
            return (Criteria) this;
        }

        public Criteria andShopScoreNotIn(List<BigDecimal> values) {
            addCriterion("shop_score not in", values, "shopScore");
            return (Criteria) this;
        }

        public Criteria andShopScoreBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shop_score between", value1, value2, "shopScore");
            return (Criteria) this;
        }

        public Criteria andShopScoreNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shop_score not between", value1, value2, "shopScore");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andServiceRatingIsNull() {
            addCriterion("service_rating is null");
            return (Criteria) this;
        }

        public Criteria andServiceRatingIsNotNull() {
            addCriterion("service_rating is not null");
            return (Criteria) this;
        }

        public Criteria andServiceRatingEqualTo(String value) {
            addCriterion("service_rating =", value, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingNotEqualTo(String value) {
            addCriterion("service_rating <>", value, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingGreaterThan(String value) {
            addCriterion("service_rating >", value, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingGreaterThanOrEqualTo(String value) {
            addCriterion("service_rating >=", value, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingLessThan(String value) {
            addCriterion("service_rating <", value, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingLessThanOrEqualTo(String value) {
            addCriterion("service_rating <=", value, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingLike(String value) {
            addCriterion("service_rating like", value, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingNotLike(String value) {
            addCriterion("service_rating not like", value, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingIn(List<String> values) {
            addCriterion("service_rating in", values, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingNotIn(List<String> values) {
            addCriterion("service_rating not in", values, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingBetween(String value1, String value2) {
            addCriterion("service_rating between", value1, value2, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceRatingNotBetween(String value1, String value2) {
            addCriterion("service_rating not between", value1, value2, "serviceRating");
            return (Criteria) this;
        }

        public Criteria andServiceScoreIsNull() {
            addCriterion("service_score is null");
            return (Criteria) this;
        }

        public Criteria andServiceScoreIsNotNull() {
            addCriterion("service_score is not null");
            return (Criteria) this;
        }

        public Criteria andServiceScoreEqualTo(BigDecimal value) {
            addCriterion("service_score =", value, "serviceScore");
            return (Criteria) this;
        }

        public Criteria andServiceScoreNotEqualTo(BigDecimal value) {
            addCriterion("service_score <>", value, "serviceScore");
            return (Criteria) this;
        }

        public Criteria andServiceScoreGreaterThan(BigDecimal value) {
            addCriterion("service_score >", value, "serviceScore");
            return (Criteria) this;
        }

        public Criteria andServiceScoreGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("service_score >=", value, "serviceScore");
            return (Criteria) this;
        }

        public Criteria andServiceScoreLessThan(BigDecimal value) {
            addCriterion("service_score <", value, "serviceScore");
            return (Criteria) this;
        }

        public Criteria andServiceScoreLessThanOrEqualTo(BigDecimal value) {
            addCriterion("service_score <=", value, "serviceScore");
            return (Criteria) this;
        }

        public Criteria andServiceScoreIn(List<BigDecimal> values) {
            addCriterion("service_score in", values, "serviceScore");
            return (Criteria) this;
        }

        public Criteria andServiceScoreNotIn(List<BigDecimal> values) {
            addCriterion("service_score not in", values, "serviceScore");
            return (Criteria) this;
        }

        public Criteria andServiceScoreBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_score between", value1, value2, "serviceScore");
            return (Criteria) this;
        }

        public Criteria andServiceScoreNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_score not between", value1, value2, "serviceScore");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}